import { Config } from '@stencil/core';

export const config: Config = {
  namespace: 'ds-micro',
  hashFileNames: false,
  outputTargets: [
    {
      type: 'dist',
      esmLoaderPath: './loader',
    },
    // {
    //   type: 'dist-lazy',
    //   dir: 'dist-lazy',
    // },
    // {
    //   type: 'dist-hydrate-script',
    //   dir: 'dist-hydrate',
    // },
    {
      type: 'dist-custom-elements',
      includeGlobalScripts: false,
    },
    {
      type: 'docs-readme',
    },
    {
      type: 'www',
      serviceWorker: null, // disable service workers
    },
  ],
  devServer: {
    port: 3334,
  }
};
